Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

zeptomatch-is-static

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

zeptomatch-is-static

A little utility for checking if a glob is fully static.

  • 1.0.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
15K
increased by4.23%
Maintainers
1
Weekly downloads
 
Created
Source

Zeptomatch Is Static

A little utility for checking if a glob is fully static.

Escapes are considered to be static, so you should probably use this package in combination with zeptomatch-unescape to remove them.

Install

npm install --save zeptomatch-is-static

Usage

import isStatic from 'zeptomatch-is-static';

// Checking if a glob is fully static

isStatic ( 'foo' ); // true
isStatic ( 'foo/bar' ); // true
isStatic ( 'foo\\*bar' ); // true

isStatic ( '*' ); // false
isStatic ( '**' ); // false
isStatic ( 'foo*' ); // false
isStatic ( 'foo/**/*' ); // false
isStatic ( 'foo*bar' ); // false

License

MIT © Fabio Spampinato

Keywords

FAQs

Package last updated on 29 Mar 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc